package com.smbms.service;

import com.smbms.pojo.Bill;
import com.smbms.pojo.User;
import org.apache.ibatis.jdbc.SQL;

import java.sql.SQLException;
import java.util.List;

public interface BIllService {


    //查所有
    List<Bill> showAll()throws SQLException;
//删除
    boolean del(Long id)throws Exception;
//增加
    boolean addBill( Bill bill)throws Exception;
//修改
    boolean updateBill(Bill bill)throws Exception;
//根据id查找账单
    Bill showBillById(long id) throws Exception;

}
